from django.urls import path, include
from . import views

urlpatterns = [
    path('register/', views.RegisterView.as_view(), name='register'),
    path('usernames/<username>/count/', views.UsernameCountView.as_view()),
    path('mobiles/<int:mobile>/count/', views.MobileCountView.as_view()),
    path('login/', views.LoginView.as_view(), name='login'),
    path('logout/', views.LogoutView.as_view(), name='logout'),
    path('info/', views.UserInfoView.as_view(), name='info'),
    path('emails/', views.EmailView.as_view(), name='email'),
    path('emails/verification/', views.VerifyEmailView.as_view()),
]
